package cn.rkylin.oms.goods.util.handler.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import cn.rkylin.oms.aftersale.sysrefund.servcie.ISysRefundService;
import cn.rkylin.oms.goods.util.handler.SnOpenableValidateHandler;

/**
 * 类名: SysRefundValidHandler <br/>
 * 方法名: 退款单相关校验类 <br/>
 * date: 2018年7月5日 下午2:44:18 <br/>
 *
 * @author zhanghao
 * @version 
 */
public class SysRefundValidHandler extends SnOpenableValidateHandler {
    @Autowired
    ISysRefundService sysRefundService;

    @Override
    public String getMessage() {
        return UNGOING_RECEPTION_MESSAGE;
    }

    @Override
    public int getUnGoingCount(Map<String, String> paramMap) throws Exception {
        return sysRefundService.getUnGoingCount(paramMap);
    }

}
